package com.bcxj.internalcommon.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.swing.text.Segment;
import java.util.List;

/**
 * ClassName: DirectionTransitVO
 * Package: com.bcxj.internalcommon.vo
 * Description:
 *
 * @Author BCXJ
 * @Create 2025/2/25 21:13
 * @Version 1.0
 * @Since 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DirectionTransitVO {
    private String depLongitude;
    private String depLatitude;
    private String destLongitude;
    private String destLatitude;
    private Double distance;
    private Double taxiFee; // 预估打车总费用

    private List<Transit> transits;
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Transit {
        private Double duration; // 换乘时间
        private Double transitFee; //换乘费用
        private Integer distance;
        private String walkDistance;
        private List<DirectionSegment> segment;
    }
}
